const { defineConfig } = require('@vue/cli-service')
const path = require('path'); // 需要引入 path 模块

module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,

  devServer: {
    // 将 "/static" 路径映射到项目根目录的 "public-resources" 文件夹
    static: {
      directory: path.join(__dirname, 'public-resources'),
      publicPath: '/static'
    },
    port: 9001
  }
})
